package cn.changein.framework.api.setting.customer;

import cn.changein.framework.base.controller.BaseController;
import cn.changein.framework.kernel.model.response.ResponseData;
import cn.changein.framework.service.setting.customer.CustomerServiceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.concurrent.Callable;

/**
 * <p> TODO(客服管理) </p>
 *

 * @version V1.0
 * @Title: ApiCustomerServiceController
 * @Package cn.changein.framework.api.setting.customer
 * @date 2021/2/26 14:21
 * @Copyright: companyName
 */
@RestController
@RequestMapping("/api/customerService")
public class ApiCustomerServiceController extends BaseController {


    @Autowired
    private CustomerServiceService customerServiceService;

    /**
     * @Description: 客服管理信息
     * @Date:2021/2/26 14:29
     * @Param: []

     */
    @PostMapping("findCustomerServiceInfo")
    public Callable<ResponseData> findCustomerServiceInfo() {
        return () -> this.customerServiceService.findCustomerServiceInfo();
    }
}
